<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang trade_management} &raquo; {lang pro_market}</p>
</div>
<div id="rightTop"> 
    <h3>{lang pro_market}</h3> 
    <ul class="subnav">
		<li><a class="btn1" href="market.php"><span>{lang management}</span></a></li>
        <li><a href="market.php?do=edit">{lang add_or_edit}</a></li>
		<li><a href="markettype.php">{lang types}</a></li>
		<li><a href="quote.php">{lang price_quotes}</a></li>
		<li><a href="quotetype.php">{lang quotes}{lang sorts}</a></li>
    </ul>
</div>
<div class="mrightTop"> 
    <div class="fontr"> 
        <form name="search_frm" action="market.php" id="SearchFrm" method="get">
        <input type="hidden" name="do" value="search" />
             <div>
				{lang keywords}<input class="queryInput" type="text" name="q" value="{$smarty.get.q}" />
                <span id="dataArea">
						<select name="data[market][area_id1]" id="dataMarketAreaId1" class="level_1" style="width:120px;" ></select>
						<select name="data[market][area_id2]" id="dataMarketAreaId2" class="level_2" style="width:120px;"></select>
						<select name="data[market][area_id3]" id="dataMarketAreaId3" class="level_3" style="width:120px;"></select>
				</span>
                <input type="submit" name="search" id="Search" class="formbtn" value="{lang searching}" /> 
            </div> 
        </form> 
    </div> 
    <div class="fontr"></div> 
</div> 
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onclick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang naming}</label></th>
		  <th>{lang in_industry}</th>
		  <th>{lang in_area}</th>
		  <th>{lang whether_or}{lang show_it}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onclick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><label for="item_{$item.id}">{$item.name}</label>{if $item.picture!=''}<span class="icon-pic"></span>{/if}{if $item.if_commend==1}<span class="icon-commend"></span>{/if}</td>
		  <td>{$item.industryname}</td>
		  <td>{$item.areaname}</td>
		  <td>{if $item.status==1}{lang show_it}{else}{lang not}{lang show_it}{/if}</td>
		  <td class="handler">
          <ul id="handler_icon">
              <li><a class="btn_delete" href="market.php?id={$item.id}&do=del{$addParams}" title="{lang delete}">{lang delete}</a></li>
              <li><a class="btn_edit" href="market.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
              <li><a class="btn_browse" href="{$SiteUrl}market/detail.php?id={$item.id}" target="_blank" title="{lang preview}">{lang preview}</a></li>
           </ul> 
		 </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="6">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
	  <input type="submit" name="recommend" value="{lang commend}{lang market}" class="formbtn batchButton"/>
      <input type="submit" name="check" value="{lang show_it}" class="formbtn batchButton"/>
      <input type="submit" name="uncheck" value="{lang not}{lang show_it}" class="formbtn batchButton"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<script>
var cache_path = "../";
var app_language = '{$AppLanguage}';
</script>
<script src="../scripts/multi_select.js" charset="{$charset}"></script>
<script src="../scripts/script_area.js"></script>
<!-- {include file="footer.html"} -->